#ifndef ADUI_H
#define ADUI_H

#include <QObject>
#include<QSplitter>
#include<QLabel>
#include<QMediaPlayer>
#include"addao.h"
#include <QVideoWidget>
#include<QMediaPlaylist>
class adui : public QObject
{
    Q_OBJECT
public:
    explicit adui(QObject *parent = nullptr);
    QSplitter* initUi();//初始化
    void changePlayList();
    ~adui();
private:
    QSplitter *splitter;
    QStringList images;
    QLabel *imageLabel;
    QMediaPlayer *player;
public slots:
    void changImage(int index);
signals:

};

#endif // ADUI_H
